<?php
/**
 * 首页入口文件
 */
include("./includes/fun.global.php");
if ($conf['CloseWebsite'] <> '') show_msg('闭站通知', $conf['CloseWebsite'], '1', false, false);
if (empty($_COOKIE['THEKEY']) && $conf['ForcedLanding'] <> 1) header("Location:/user/login.php");

template::get($_QET['mod']);

if ($conf['YzfSign'] == '' || $conf['YzfSign'] == '-1') die();
?>
<script src="https://yzf.qq.com/xv/web/static/chat_sdk/yzf_chat.min.js"></script>
<script>
    window.yzf && window.yzf.init({
        sign: '<?=$conf['YzfSign']?>',
        uid: '',
        data: {
            c1: '',
            c2: '',
            c3: '',
            c4: '',
            c5: ''
        },
        selector: '',
        callback: function (type, data) {

        }
    });
</script>
<style>
    .main-contact {
        z-index: 9 !important;

    }

    .chat-btn, .main-contact {
        border-radius: 1.1em !important;
    }
</style>